/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author chris
 */
import javax.swing.*;
import java.awt.*;

public class Sprite {
    ImageIcon icon;
    String myName;
    char myChar;

    public Sprite(ImageIcon myIcon, String name){
        icon = myIcon;
        myName = name;
    }
    public ImageIcon getImage(){ return icon;}
    public void setImage(ImageIcon newImage){icon = newImage;}
    public String getName(){return myName;}
    public void setName(String newName){myName = newName;}
    @Override
    public String toString(){return myName;}
    public void setSym(char sym){myChar = sym;}
    public char getSym(){return myChar;}
}
